async function test() {
  const Redis = require("ioredis");

  const redis = new Redis({
    port: 6379,
  });

  await redis.set("a", "redis");
  const key = await redis.keys("*");
  console.log(await redis.get("a"));
}
test();
